package com.bistu.xiong.factory.eventbus;

import java.util.List;

/**
 * Created by XiongXiaoJun on 2017/12/22.
 */

public class MessageEvent<T> {
    public static final int GalleryChoosePicsFragment = 0x00;
    public int type;
    public T data;

    public MessageEvent(T data, int type ) {
        this.type = type;
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
